import { RouteRecordRaw } from "vue-router";

export default  {
     name:"error",
     path:'/error',
     component:()=>import("@/layouts/admin.vue"),
     meta:{auth:true,menu:{title:"错误页面",icon:"Caution"}},
   
     children:[
         { 
            name:'error.404',
            path:'404',
            component:()=>import("@/views/errors/404.vue"),
            meta:{menu:{title:"404页面"}}, //404显示

         },
         {
            name:'error.403',
            path:'403',
            component:()=>import("@/views/errors/403.vue"),
            meta:{menu:{title:"403页面"}},//403不显示
 
         }
     ]
} as RouteRecordRaw

